package com.epin.business.system.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.epin.base.enums.commons.StatusEnum;
import com.epin.base.exception.check.RecordImmutableException;
import com.epin.base.exception.check.RecordQuoteException;
import com.epin.base.exception.check.RecordRepeatException;
import com.epin.business.system.dao.UserMapper;
import com.epin.business.system.entity.User;
import com.epin.business.system.entity.bo.UserNormal;
import com.epin.business.system.entity.vo.UserParam;
import com.epin.business.system.service.RoleUserService;
import com.epin.business.system.service.UserService;


/**
 * <p>
 * 用户账户表  服务实现类
 * </p>
 *
 * @author xj
 * @since 2016-12-20
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
	
	
	@Autowired
	private RoleUserService roleUserService;

	@Override
	public Page<UserNormal> selectUsersPage(int pageNumber, int pageSize, Map<String, Object> params) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public UserNormal selectUserByParams(Map<String, Object> params) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean insertOrUpdateUser(Integer id, UserParam uParam, UserNormal operator) throws RecordRepeatException {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean deleteUsersByIds(List<Integer> ids) throws RecordQuoteException {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean cancelUsersByIds(List<Integer> ids, StatusEnum status, UserNormal operator) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean resetPasswordById(Integer id, String newPassword) throws RecordImmutableException {
		// TODO Auto-generated method stub
		return false;
	}
	
	@Override
	public List<UserNormal> selectUsersByCompanyIds(List<Integer> companyIds) {
		// TODO Auto-generated method stub
		return null;
	}
	
	@Override
	public List<UserNormal> selectUsersByDeptIds(List<Integer> deptIds) {
		// TODO Auto-generated method stub
		return null;
	}

}
